<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/24
  Time: 10:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>结果页面</title>
    <style>
        div {
            width: 400px;
            margin: 1em auto;
            background: #eee;
            padding: 2em;
        }
        span {
            margin-right: 2em;
        }
    </style>
</head>
<body>
    <div>
        <%--        切记：这里的绝对路径不要写错了，错误写法：${pageContext.request.contextPage}
    ${pageContext.request.contextPath}是JSP取得绝对路径的方法，等价于<%=request.getContextPath()%>
--%>
        <span>${message}</span>
        <a href="${pageContext.request.contextPath}${empty page ? "/phone/list" : page}">返回主页</a>
    </div>
</body>
</html>
